Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Editor] Add a tooltip showing the alt text when hovering the alt-text button (bug 1844952) #16983

Merged
merged 1 commit into from
Sep 20, 2023

Conversation

calixteman
Copy link
Contributor

It has been added by UX to the specifications.
The goal is to help to visualize what the alt text is.

Copy link
Collaborator

@Snuffleupagus Snuffleupagus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One thing that I find a little bit confusing is that the tooltip doesn't seem to visually differentiate between the description/decorative modes. (Perhaps a minor issue, but nonetheless something that I noticed.)
In practice this means that if you add "Marked as decorative" as the altText then it's not really possible to know from the tooltip alone which mode is active. Looking briefly at the specification it's not immediately clear to me if it addresses this, however my (possibly dumb) idea would be to use italic-text in the tooltip for the decorative mode?

web/annotation_editor_layer_builder.css Outdated Show resolved Hide resolved
web/annotation_editor_layer_builder.css Outdated Show resolved Hide resolved
web/annotation_editor_layer_builder.css Outdated Show resolved Hide resolved
Copy link
Collaborator

@Snuffleupagus Snuffleupagus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

r=me, thank you!

@calixteman calixteman merged commit b7fa4fb into mozilla:master Sep 20, 2023
3 checks passed
@calixteman calixteman deleted the alt_text_tooltip branch September 20, 2023 09:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants